home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1994 November: Tool Chest / Dev.CD Nov 94.toast / New System Software Extensions / OpenDoc A6 / SOM / OpenDoc and SOM / IDL / Link.idl < prev    next >
Encoding:
Text File  |  1994-04-19  |  2.0 KB  |  93 lines  |  [TEXT/MPS ]

  1. //# Copyright:    © 1993-94 by Apple Computer, Inc., all rights reserved.
  2. #ifndef _LINK_
  3. #define _LINK_
  4.  
  5. #ifndef _LINKB_
  6. #include "LinkB.idl"
  7. #endif
  8.  
  9. //==============================================================================
  10. // Theory of Operation
  11. //==============================================================================
  12.  
  13. /*
  14.   This class is used to represent the destination side of OpenDoc links.
  15.   ODDrafts create and own these links. The source ODPart will ask the draft
  16.   to create an ODLinkSource and an ODLink pair, and return the ODLink
  17.   object to the the destination part.  The destination part uses the ODLink
  18.   object to extract the contents of the link.
  19. */
  20.  
  21. //==============================================================================
  22. // Classes defined in this interface
  23. //==============================================================================
  24.  
  25. interface  ODLink;
  26.  
  27. //==============================================================================
  28. // Classes used by this interface
  29. //==============================================================================
  30.  
  31. interface    ODStorageUnit;
  32. interface    ODPart;
  33. interface    ODPartList;
  34. interface    ODLinkSource;
  35. interface    ODDraft;
  36.  
  37.  
  38. //==============================================================================
  39. // ODLink
  40. //==============================================================================
  41.  
  42. #ifdef _PLATFORM_MACINTOSH_
  43.  
  44. interface ODLink :  ODBaseLink
  45. {
  46.     //# Additional Macintosh-specific methods
  47.  
  48.  
  49.  
  50. #ifdef __SOMIDL__
  51.     implementation
  52.     {
  53.         override:
  54.             somInit,
  55.             somUninit,
  56.             
  57.             Purge,
  58.             Externalize,
  59.             ReleaseAll,
  60.             
  61.             Lock,
  62.             Unlock,
  63.             GetContentStorageUnit,
  64.             RegisterDependent,
  65.             UnregisterDependent,
  66.             GetChangeID,
  67.             GetChangeTime,
  68.             GetStatus,
  69.             ShowSourceContent,
  70.             UpdateDependents,
  71.             CloneTo;
  72.             
  73.         releaseorder:
  74.             reserved1,
  75.             reserved2,
  76.             reserved3,
  77.             reserved4,
  78.             reserved5,
  79.             reserved6,
  80.             reserved7,
  81.             reserved8,
  82.             reserved9;
  83.  
  84.         majorversion = 1; minorversion = 0;
  85.     
  86.     };
  87. #endif
  88. };
  89.  
  90. #endif //# _PLATFORM_MACINTOSH_
  91.  
  92. #endif // _LINK_
  93.